package com.briup.jd2407cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.jd2407cms.domain.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.jd2407cms.domain.extend.ArticleExtend;
import com.briup.jd2407cms.domain.extend.ArticleParam;
import com.briup.jd2407cms.mapper.ArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 王杰_
* @description 针对表【cms_article】的数据库操作Service
* @createDate 2024-11-21 14:43:47
*/
public interface ArticleService extends IService<Article> {

    void addOrEdit(Article article, HttpServletRequest request);
    IPage<ArticleExtend> query(ArticleParam articleParam);
    void reviewArticle(Long id,String status);
    ArticleExtend queryById(Long id);
    void deleteByBatch(List<Long> ids);
}
